package com.niit.mapper;

import com.niit.entity.Building;

import java.util.List;

public interface BuildingMapper {
    List<Building> list();

    List<Building> searchByName(String value);

    List<Building> searchByIntroduction(String value);

    void save(Building building);

    void update(Building building);

    void delete(Integer id);
}
